package com.mar.bt.server;

import javax.bluetooth.RemoteDevice;

/**
 * Represents  a connection handler.
 * @see IBluetoothServer
 * @author mar
 *
 */
public interface IBTClientsListener {
	/**
	 * Is called by server when connection is established.
	 * To refuse connection just call <b>btIOHadler.close()</b>.
	 * @param clientDev remote device
	 * @param btIOHadler bluetooth connection
	 */
	void clientConnected(RemoteDevice clientDev, IBluetoothIOHandler btIOHadler);

}
